package com.zz.cinema.service.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.zz.cinema.dao.ITS_MovieDao;
import com.zz.cinema.domain.TS_Movie;
import com.zz.cinema.service.ITS_MovieService;
import com.zz.cinema.util.PageList;

@Service("movieService")
@Transactional
public class TS_MovieServiceImpl implements ITS_MovieService {

	@Resource
	private ITS_MovieDao movieDao;

	@Override
	public PageList<TS_Movie> getHotMovies() {
		return movieDao.getPage(1);
	}

}
